package com.edu.design.decorator;

public class Lettuce extends Condiment{
	
	Humburger humburger;
	
	public Lettuce(Humburger pHumburger) {
		super();
		humburger = pHumburger;
	}

	@Override
	public String getName() {
		return humburger.getName() + ",2元加生菜";
	}

	@Override
	public double getPrice() {
		return humburger.getPrice() + 2;
	}
	
}
